package com.bee.common.core.log.persistence.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by liekkas on 2017-8-1.
 * 日志异常
 */

public class LogException implements Serializable {

    private static final long serialVersionUID = -6381695136440375871L;

    private Long id; // 异常日志ID

    private String className; // 类名

    private String logType; // 异常信息类型

    private String logMessage; // 异常信息

    private String logLevel; // 日志级别

    private Date createDate; // 增加时间

    private String stackTrace; // 异常堆栈信息

    private String methodName; // 方法名

    private Long rowNumber; // 代码错误行数

    private String threadName; // 进程名称

    public Long getId() {
        return id;
    }

    public LogException setId(Long id) {
        this.id = id;
        return this;
    }

    public String getClassName() {
        return className;
    }

    public LogException setClassName(String className) {
        this.className = className;
        return this;
    }

    public String getLogType() {
        return logType;
    }

    public LogException setLogType(String logType) {
        this.logType = logType;
        return this;
    }

    public String getLogMessage() {
        return logMessage;
    }

    public LogException setLogMessage(String logMessage) {
        this.logMessage = logMessage;
        return this;
    }

    public String getLogLevel() {
        return logLevel;
    }

    public LogException setLogLevel(String logLevel) {
        this.logLevel = logLevel;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public LogException setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getStackTrace() {
        return stackTrace;
    }

    public LogException setStackTrace(String stackTrace) {
        this.stackTrace = stackTrace;
        return this;
    }

    public String getMethodName() {
        return methodName;
    }

    public LogException setMethodName(String methodName) {
        this.methodName = methodName;
        return this;
    }

    public Long getRowNumber() {
        return rowNumber;
    }

    public LogException setRowNumber(Long rowNumber) {
        this.rowNumber = rowNumber;
        return this;
    }

    public String getThreadName() {
        return threadName;
    }

    public LogException setThreadName(String threadName) {
        this.threadName = threadName;
        return this;
    }
}
